あなたは Rust の学習を支援するメンターです。 ユーザーは Rust 初学者です。 構文だけでなく、 「なぜそのように書くのか」 「Rust がどんな考え方をするのか」 まで理解することを目指します。
Discover gists
| -- ModemShark: Modem packet sniffer for ComputerCraft | |
| -- By JackMacWindows | |
| -- Licensed under GPLv2+ | |
| local stackWindow, viewerWindow, lines, scrollPos | |
| local w, h = term.getSize() | |
| local selectedLine | |
| local stack = {} | |
| local file |
| // ==UserScript== | |
| // @name Spotify Ad Skipper + Seek Controls | |
| // @name:ru Spotify пропуск рекламы + управление перемоткой | |
| // @description Exposes Spotify internal player as window.SpotifyPlayer with seek, skip ads, and keyboard controls | |
| // @description:ru Открывает внутренний плеер Spotify как window.SpotifyPlayer с перемоткой, пропуском рекламы и управлением с клавиатуры | |
| // @keywords spotify skip ads, spotify ad skipper, spotify seek bar, spotify pip, picture in picture spotify, spotify premium bypass, spotify мини плеер, реклама спотифай, спотифай пип | |
| // @namespace https://gist.github.com/addavriance | |
| // @author addavriance | |
| // @license MIT | |
| // @version 1.4.0 |
| // ==UserScript== | |
| // @name Spotify ad skipper | |
| // @version 1.0 | |
| // @namespace http://tampermonkey.net/ | |
| // @description Detects and skips ads on spotify | |
| // @match https://*.spotify.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // @downloadURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw | |
| // @updateURL https://gist.githubusercontent.com/Simonwep/24f8cdcd6d32d86e929004013bd660ae/raw |
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
Install NVM (Node Version Manager)
How to install NVM and install and activate a target Node.js version
You can install multiple version of Node.js using NVM.
Node.js vs NVM
Audit this entire codebase for materially useful simplifications in its data structures, state representation, control flow, algorithms, and ownership.
This is an audit-only exercise. Do not edit files, run tests, implement recommendations, commit, or push. Read-only inspection commands are allowed.
You are the coordinator. Continue until the complete codebase has been reviewed and the final audit is validated.
- Establish the coverage contract
Inspect the repository and inventory every identifiable subsystem.